package com.ruoyi.APPMS.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 购买车辆对象 purchasevehicle
 *
 * @author wanghaoyu
 * @date 2023-07-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Purchasevehicle implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /** 车辆ID */
    private Long vehicleid;

    /**
     * 车辆状态标记
     * 1：在供应商
     * 2：供应商to仓库
     * 3：在仓库
     * 4：仓库to客户
     * 5：在客户
     */
    private Long status;

    /**
     * 所在供应商ID
     */
    @Excel(name = "所在供应商ID")
    private Long supplierid;
    @Excel(name = "所在供应商名称")
    @TableField(exist = false)
    private String suppliername;

    /**
     * 所在仓库ID
     */
    private Long warehouseid;

    /**
     * 客户ID
     */
    private Long customerid;

    /**
     * 销售员ID
     */
    private Long salespersonid;

    @TableField(exist = false)
    private String contactnumber;

    @TableField(exist = false)
    private String address;

    /**
     * 车辆品牌
     */
    @Excel(name = "车辆品牌")
    private String brand;

    /**
     * 车辆类型
     */
    @Excel(name = "车辆类型")
    private String model;

    /**
     * 车身颜色
     */
    @Excel(name = "车身颜色")
    private String color;

    /**
     * 生产日期
     */
    @Excel(name = "生产日期")
    private String manufacturedate;

    /**
     * 发动机号
     */
    @Excel(name = "发动机号")
    private String enginenumber;

    /**
     * 车架号
     */
    @Excel(name = "车架号")
    private String vin;

    /**
     * 进价
     */
    @Excel(name = "进价")
    private Long primeprice;

    /**
     * 售价
     */
    @Excel(name = "售价")
    private Long price;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String createtime;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private String modifytime;

    /**
     * 删除标记
     */
    @TableLogic
    private Long deleted;

    /**
     * 核载人数
     */
    @Excel(name = "核载人数")
    private Long seatingcapacity;

    /**
     * 发动机类型
     */
    @Excel(name = "发动机类型")
    private String enginetype;

    /**
     * 排量
     */
    @Excel(name = "排量")
    private Long enginedisplacement;

    /**
     * 功率
     */
    @Excel(name = "功率")
    private Long power;

    /**
     * 车轴数量
     */
    @Excel(name = "车轴数量")
    private Long axlesnumber;

    /**
     * 车轴距离
     */
    @Excel(name = "车轴距离")
    private Long wheelbase;

    /**
     * 前轮距
     */
    @Excel(name = "前轮距")
    private Long fronttrack;

    /**
     * 后轮距
     */
    @Excel(name = "后轮距")
    private Long reartrack;

    /**
     * 满载总质量
     */
    @Excel(name = "满载总质量")
    private Long grossvichcleweight;

    /**
     * 汽车整备质量
     */
    @Excel(name = "汽车整备质量")
    private Long curbweight;
}
